#!/usr/bin/env bash
set -e
echo "start to execute build"

npm config set registry https://repo.huaweicloud.com/repository/npm/
npm install pnpm -g
ln -s /root/.nvm/versions/node/v18.20.5/bin/pnpm /usr/bin/pnpm
pnpm install
pnpm docs:build